<?php /* Smarty version Smarty-3.1.18, created on 2014-12-23 16:12:04
         compiled from "application/views/index.php" */ ?>
<?php /*%%SmartyHeaderCode:1949770701540e6c7062da47-42133499%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '896cc2d4903f7cb099be53ed4a004da1f1b4ab34' => 
    array (
      0 => 'application/views/index.php',
      1 => 1419237902,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1949770701540e6c7062da47-42133499',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_540e6c7066e556_17603873',
  'variables' => 
  array (
    'data' => 0,
    'item' => 0,
    'site_url' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_540e6c7066e556_17603873')) {function content_540e6c7066e556_17603873($_smarty_tpl) {?>
  <!--container begin-->
  <div id="container" class="fix">
    <?php echo $_smarty_tpl->getSubTemplate ('leftsidebar_ajax.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

    <div class="banner"> <a href=""><img src="images/banner.jpg" alt="" /></a> </div>
    <div class="brand">
      <h3>Featured Product Categories</h3>
      <div class="pageBtn"><a href="#" class="pre"></a><a href="#" class="next"></a></div>
      <div class="content">
        <ul>
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']['smake']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
          <li>
            <div class="pic"><a href="/charge/<?php echo $_smarty_tpl->tpl_vars['item']->value->make_id;?>
" class="s2"><img src="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
img/simg/<?php echo $_smarty_tpl->tpl_vars['item']->value->img;?>
"/></a></div>
            <div class="name"><a href="/charge/<?php echo $_smarty_tpl->tpl_vars['item']->value->make_id;?>
" title=""><?php echo $_smarty_tpl->tpl_vars['item']->value->make_name;?>
</a></div>
          </li>
		<?php } ?>
        </ul>
      </div>
    </div>
    <script type="text/javascript">
          $(".brand .content").jCarouselLite({
	btnPrev:".brand .pre",
	btnNext:".brand .next",
	scroll: 1,
	visible:5
});</script>
    <div class="hotPro">
      <h3>Current Deals</h3>
      <div class="pageBtn"><a href="#" class="pre"></a><a href="#" class="next"></a></div>
      <div class="content">
        <ul>
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']['proinfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
          <li>
            <div class="pic"><a href="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
product/<?php echo $_smarty_tpl->tpl_vars['item']->value->prourl;?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
img/simg/<?php echo $_smarty_tpl->tpl_vars['item']->value->img;?>
" alt="" /></a></div>
            <div class="name"><a href="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
product/<?php echo $_smarty_tpl->tpl_vars['item']->value->prourl;?>
" title="">more info</a></div>
            <p class="now">Now:$<?php echo $_smarty_tpl->tpl_vars['item']->value->price;?>
</p>
            <a href="/add_to_cart?id=<?php echo $_smarty_tpl->tpl_vars['item']->value->pro_id;?>
"><p class="action">buy now</p></a>
          </li>
         <?php } ?>
        </ul>
      </div>
    </div>
    <script type="text/javascript">
          $(".hotPro .content").jCarouselLite({
	btnPrev:".hotPro .pre",
	btnNext:".hotPro .next",
	scroll: 1,
	visible:5
});</script>
    <div class="searchArea">
      <div class="s1">
        <h3>Search by Car Makes</h3>
        <ul>
          <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']['makes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            <li><a href="/charge/<?php echo $_smarty_tpl->tpl_vars['item']->value->make_id;?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value->make_name;?>
</a></li>
          <?php } ?>
        </ul>
      </div>
    </div>
  </div>
  <!--container end-->

<?php }} ?>
